package cn.com.jinhao.provider.business.entity;

import cn.com.jinhao.hotline.commons.base.oracle.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * HotLine
 * <p>Description: 事件处理最顶层的类</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/10/18
 * @since 2019-10-18
 */

@Data
public class Base extends BaseEntity {
    /**
     * 编码
     */
    @Column(name = "code")
    @ApiModelProperty(value = "编码")
    protected String code;

    /**
     * 创建人#ID
     */
    @Column(name = "cuid")
    protected String creatorId;

    /**
     * 创建人
     */
    @Column(name = "cunm")
    protected String creator;

    /**
     * 创建时间
     */
    @Column(name = "ctmp")
    protected Date createTime;

    /**
     * 修改人#ID
     */
    @Column(name = "muid")
    protected String modifierId;

    /**
     * 修改人
     */
    @Column(name = "munm")
    protected String modifier;

    /**
     * 修改时间
     */
    @Column(name = "mtmp")
    protected Date modifyTime;

    /**
     * 状态
     */
    @Column(name = "stat")
    protected Short stat = 1;

    /**
     * 备注
     */
    @Column(name = "memo")
    protected String memo;
}

